package com.mycompany.inventory.pojo;

public class Card {	

	private String Id;
	private String name;	
	
	public Card(String id, String name) {		
		Id = id;
		this.name = name;
	}
	
	public Card() {		
		Id = "";
		this.name = "";
	}
	
	public void clear(){
		Id = "";
		this.name = "";
	}
	
	public void copyValue(Card pay){
		Id = pay.getId();
		this.name = pay.getName();
	}

	public String getId() {
		return Id;
	}

	public void setId(String id) {
		Id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String toString(){
		return name;
	}
	
}
